package com.tssm.pojo;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SarcInvestigationCargo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SARC_INVESTIGATION_CARGO", schema = "dbo", catalog = "ts")
public class SarcInvestigationCargo implements java.io.Serializable {

	private static final long serialVersionUID = 2089220229135133287L;
	private Long invcargoid;
	private Long supplierid;
	private Long investigationid;
	private String name;
	private String code;
	private String standard;
	private String supplyCycle;
	private Date investigationTime;
	private String def1;
	private String def2;
	private String def3;
	private String def4;
	private String def5;
	private String def6;
	private String def7;
	private String def8;
	private String def9;
	private Date ts;
	private Long dr;

	// Constructors

	/** default constructor */
	public SarcInvestigationCargo() {
	}

	/** full constructor */
	public SarcInvestigationCargo(Long supplierid, Long investigationid,
			String name, String code, String standard, String supplyCycle,
			Date investigationTime, String def1, String def2, String def3,
			String def4, String def5, String def6, String def7, String def8,
			String def9, Date ts, Long dr) {
		this.supplierid = supplierid;
		this.investigationid = investigationid;
		this.name = name;
		this.code = code;
		this.standard = standard;
		this.supplyCycle = supplyCycle;
		this.investigationTime = investigationTime;
		this.def1 = def1;
		this.def2 = def2;
		this.def3 = def3;
		this.def4 = def4;
		this.def5 = def5;
		this.def6 = def6;
		this.def7 = def7;
		this.def8 = def8;
		this.def9 = def9;
		this.ts = ts;
		this.dr = dr;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "INVCARGOID", unique = true, nullable = false, precision = 18, scale = 0)
	public Long getInvcargoid() {
		return this.invcargoid;
	}

	public void setInvcargoid(Long invcargoid) {
		this.invcargoid = invcargoid;
	}

	@Column(name = "SUPPLIERID", precision = 18, scale = 0)
	public Long getSupplierid() {
		return this.supplierid;
	}

	public void setSupplierid(Long supplierid) {
		this.supplierid = supplierid;
	}

	@Column(name = "INVESTIGATIONID", precision = 18, scale = 0)
	public Long getInvestigationid() {
		return this.investigationid;
	}

	public void setInvestigationid(Long investigationid) {
		this.investigationid = investigationid;
	}

	@Column(name = "NAME")
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "CODE")
	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "STANDARD")
	public String getStandard() {
		return this.standard;
	}

	public void setStandard(String standard) {
		this.standard = standard;
	}

	@Column(name = "SUPPLY_CYCLE")
	public String getSupplyCycle() {
		return this.supplyCycle;
	}

	public void setSupplyCycle(String supplyCycle) {
		this.supplyCycle = supplyCycle;
	}

	@Column(name = "INVESTIGATION_TIME")
	public Date getInvestigationTime() {
		return this.investigationTime;
	}

	public void setInvestigationTime(Date investigationTime) {
		this.investigationTime = investigationTime;
	}

	@Column(name = "DEF1")
	public String getDef1() {
		return this.def1;
	}

	public void setDef1(String def1) {
		this.def1 = def1;
	}

	@Column(name = "DEF2")
	public String getDef2() {
		return this.def2;
	}

	public void setDef2(String def2) {
		this.def2 = def2;
	}

	@Column(name = "DEF3")
	public String getDef3() {
		return this.def3;
	}

	public void setDef3(String def3) {
		this.def3 = def3;
	}

	@Column(name = "DEF4")
	public String getDef4() {
		return this.def4;
	}

	public void setDef4(String def4) {
		this.def4 = def4;
	}

	@Column(name = "DEF5")
	public String getDef5() {
		return this.def5;
	}

	public void setDef5(String def5) {
		this.def5 = def5;
	}

	@Column(name = "DEF6")
	public String getDef6() {
		return this.def6;
	}

	public void setDef6(String def6) {
		this.def6 = def6;
	}

	@Column(name = "DEF7")
	public String getDef7() {
		return this.def7;
	}

	public void setDef7(String def7) {
		this.def7 = def7;
	}

	@Column(name = "DEF8")
	public String getDef8() {
		return this.def8;
	}

	public void setDef8(String def8) {
		this.def8 = def8;
	}

	@Column(name = "DEF9")
	public String getDef9() {
		return this.def9;
	}

	public void setDef9(String def9) {
		this.def9 = def9;
	}

	@Column(name = "TS")
	public Date getTs() {
		return this.ts;
	}

	public void setTs(Date ts) {
		this.ts = ts;
	}

	@Column(name = "DR", precision = 18, scale = 0)
	public Long getDr() {
		return this.dr;
	}

	public void setDr(Long dr) {
		this.dr = dr;
	}

}